From 7ccd91c9ebb20ff593e0a79a65ab57597eb53f74 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Thu, 3 Mar 2016 21:12:21 -0800 Subject: [PATCH] testscale: change example to use upwards labels There's no example of that in testscale. --- tests/testscale.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testscale.c b/tests/testscale.c index 1401731675..17c676feb0 100755 --- a/tests/testscale.c +++ b/tests/testscale.c @@ -177,9 +177,9 @@ int main (int argc, char *argv[]) scale = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, 0, 100, 1); scales = g_slist_prepend (scales, scale); gtk_scale_set_draw_value (GTK_SCALE (scale), FALSE); - gtk_scale_add_mark (GTK_SCALE (scale), marks[0], GTK_POS_BOTTOM, labels[0]); - gtk_scale_add_mark (GTK_SCALE (scale), marks[1], GTK_POS_BOTTOM, NULL); - gtk_scale_add_mark (GTK_SCALE (scale), marks[2], GTK_POS_BOTTOM, labels[2]); + gtk_scale_add_mark (GTK_SCALE (scale), marks[0], GTK_POS_TOP, labels[0]); + gtk_scale_add_mark (GTK_SCALE (scale), marks[1], GTK_POS_TOP, NULL); + gtk_scale_add_mark (GTK_SCALE (scale), marks[2], GTK_POS_TOP, labels[2]); gtk_container_add (GTK_CONTAINER (frame), scale); gtk_box_pack_start (GTK_BOX (box), frame, FALSE, FALSE, 0); -- 2.30.2